//
//  MessageCell.h
//  ChatDemo
//
//  Created by 陈石 on 15/5/13.
//  Copyright (c) 2015年 陈石. All rights reserved.
//

@import UIKit;

#import "MessageFrame.h"
#import "MessageContentButton.h"

@class MessageCell;

@protocol MessageCellDelegate <NSObject>
@optional
- (void)headImageDidClick:(MessageCell *)cell userId:(NSString *)userId;

- (void)cellContentDidClick:(MessageCell *)cell image:(UIImage *)contentImage;
@end

@interface MessageCell : UITableViewCell

@property(nonatomic, retain) UILabel     *labelTime;
@property(nonatomic, retain) UILabel     *labelNum;
@property(nonatomic, retain) UIImageView *btnHeadImage;

@property(nonatomic, retain) MessageContentButton *btnContent;

@property(nonatomic, retain) MessageFrame *messageFrame;

@property(nonatomic, assign) id <MessageCellDelegate> delegate;
@property(nonatomic, strong) NSData                   *songData;

@end
